iT邦幫忙

0

gallery-dl:從入門到入土心得錄03

  • 分享至 

  • xImage
  •  

gallery-dl 的進階玩法:

1. 創建 config.json

  • 在 C:\Users\使用者\AppData\Roaming\gallery-dl 創建 config.json 檔案
  • 終端機輸入:
gallery-dl --config-status
  • 顯示 OK 代表 gallery-dl 讀到 config.json

https://ithelp.ithome.com.tw/upload/images/20251104/20180224hl15kg8uVu.png

2. config 全域設定

  • base-directory:下載儲存的資料夾路徑
  • cookies-from-browser:指定瀏覽器
  • filename:下載儲存的檔案名稱
  • mtime-from-date:使用從下載內容的日期
  • skip:下載過的內容會自動跳過
{
  "extractor": {
    "base-directory": "D:\\gallery-dl",
    "cookies-from-browser": "chrome",
    "filename": "{filename}.{extension}",
    "mtime-from-date": true,
    "skip": true
  }
}

圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言